package com.clevertap.apns;

public class TestDevApnsPush {


    public static void main(String[] args) throws Exception {

        OkHttpApnsClient client  = new ApnsClientBuilder()
                .withDefaultTopic("com.xwbank.wangzai")
                .withGatewayUrl("https://wangzai.push.apple.com")
                .withPort(443)
                .build();


        ApnsNotification notification = new ApnsNotification
                .Builder("c61031e60fdc70f69b9a863e96cd7f9d6643bc2dc7253624d151bfa43159b47d")
                .alertBody("Hello")
                .build();


        NotificationResponse result = client.push(notification);

        System.err.println(result);



    }

}
